import "amtf/css-table/theme-default/index.less"

import Table from 'amtf/components/table'
import Dropdown from 'amtf/components/dropdown'
import CheckboxGroup from 'amtf/components/checkbox-group'
import icon from 'amtf/components/icon'
import Radio from 'amtf/components/radio'
// import Loading from 'amtf/components/loading'
import Checkbox from 'amtf/components/checkbox'


export default {
  install: (app, cfg) => {
    const components = [
      Table,
      Dropdown,
      // Loading,
      CheckboxGroup,
      Checkbox,
      Radio,
      icon,
    ]
    
    components.forEach((comp) => {
      // console.log(`comp.name 👉`, comp.name)
      app.component(comp.name, comp)
    })
  }
}
